package com.zoe.onelink.util;

import com.zoe.onelink.common.enumeration.ExceptionCode;
import com.zoe.onelink.common.exception.ApiException;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2023</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2023-02-16
 */
public class OnelinkI18nAssert {

    public static void notNull(Object object, ExceptionCode exceptionCode, Object... params) {
        if (object == null) {
            throw ApiException.createEx(exceptionCode, params);
        }
    }


}
